<template>
  <slot-name>
    <template v-slot:left>
        <button>按钮1</button>
    </template>
    <template v-slot:center>
        <button>按钮2</button>
    </template>
    <template #right>
        <button>按钮3</button>
    </template>
  </slot-name>
</template>

<script>
import SlotName from "./SlotName.vue";
export default {
  components: { SlotName },
};
</script>

<style>
</style>
